package com.boe.csb.core.entity;


import java.io.Serializable;
import java.util.List;

/**
 * Created by tianjin.lp on 16/12/1.
 */
public class SimplePageInfo<T> implements Serializable {

    /**
     * 包装Page对象
     *
     * @param list
     */
    public SimplePageInfo(List<T> list,long total) {
        this.list = list;
        this.total = total;
    }


    //总记录数
    private long total;

    //结果集
    private List<T> list;

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
